home *** CD-ROM | disk | FTP | other *** search
/ Best of www.BestZips.com (Collector's Edition) / Best of WWW.BESTZIPS.COM Collector's Edition (JCSM Shareware) (JCS Marketing).ISO / financal / ezm13e.zip / STANDARD.MCR < prev    next >
Text File  |  1996-11-17  |  3KB  |  84 lines

  1. 'File: STANDARD.MCR
  2.  
  3. 'This is a sample WaverlyStreet Easy Money 1.2 macro file.
  4. 'These files are plain ASCII text files which can be created with the DOS
  5. 'EDIT program, or other text editors.
  6.  
  7. 'Macro files are used to automate the input of recurring transactions - all
  8. 'those various deductions from your payroll check being a fine example.
  9. 'Instead of having to input single entries for federal tax, state tax,
  10. 'social security, etc. every payday, create a macro file that does it for
  11. 'you.
  12.  
  13. 'The following rules apply to EZM .MCR files:
  14.  
  15. 'Blank lines, and lines which begin with " ' " are ignored.
  16.  
  17. 'Macro files must be pure ASCII text files - formatted files from word
  18. 'processors won't work (although most word processors have an option to
  19. 'save a file as "DOS text" or "ASCII text", either of which WILL work).
  20.  
  21. 'Macro format:
  22.  
  23. 'Since we are dealing with recurring transactions, the only unknown is the
  24. 'date. When you run a macro file, the only information you must supply is
  25. 'the macro file name and the date. The remainder of the information is
  26. 'written into the macro file, and used over and over.
  27.  
  28. 'A single macro file may contain as many entries as you wish. There are
  29. 'three items that you must include in the macro file for each entry:
  30.  
  31. '1) the two-character category code
  32. '2) the amount of the transaction
  33. '3) the note
  34.  
  35. 'These items must be specified one after the other, each on a single line.
  36.  
  37. 'In the example immediately below, pretend that the beginning " ' " and
  38. 'everything after and including " <- " does not exist.
  39.  
  40.  
  41. 'tx <- category code being used for tax
  42. '-100.00 <- the usual dollar amount for this (note minus sign)
  43. 'payroll deduction - federal IC tax <- a note about it
  44.  
  45.  
  46. 'Note: unlike making single entries in the program, in a macro file the
  47. 'amount, if negative (an expense) must have a preceeding "-" (minus sign).
  48. 'Positive amounts (money in) do not require anything special.
  49.  
  50. 'Each set of three sequential lines in the macro file which are not either
  51. 'blank or begining with " ' " will be read into the current data file as
  52. 'an entry.
  53.  
  54. 'Errors will happen if the macro file is not properly written.
  55.  
  56. 'The following 12 lines comprise a "real" sample macro which will write
  57. 'four separate entries to the current data file (blanks don't count):
  58.  
  59. wa
  60. 1000
  61. regular paycheck
  62.  
  63. tx
  64. -100.00
  65. payroll deduction - federal IC tax
  66.  
  67. tx
  68. -30.00
  69. payroll deduction - state IC tax
  70.  
  71. tx
  72. -25.00
  73. payroll deduction - city IC tax
  74.  
  75. '(Note: the records above will be "orphans" unless you happen to have
  76. 'categories with codes "wa" & "tx")
  77.  
  78. 'You may create as many macro files as you wish, and each one may contain
  79. 'as many entries as you wish. Macro filenames must end in the extention .mcr
  80.  
  81. 'The filename "standard.mcr" is hard-wired into the program as the default
  82. 'macro name. To avoid having to type a filename, edit this particular file
  83. 'to be your standard macro (change/add to those 12 lines above).
  84.